Total Complexity | 22 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 146 |
Lines of code | 62 |
Logical lines of code | 36 |
Comment lines | 55 |
Methods | 9 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_global_stats() | 59 | 7 | 14 | |
fetch_global_stats_from_api() | 59 | 4 | 12 | |
get_ip_allow_list_count() | 67 | 2 | 8 | |
get_ip_block_list_count() | 67 | 2 | 8 | |
is_global_stats_cache_expired() | 69 | 2 | 7 | |
should_use_global_stats_cache() | 78 | 2 | 3 | |
get_rules_version() | 75 | 1 | 4 | |
get_automatic_rules_last_updated() | 80 | 1 | 3 | |
get_global_stats_from_options() | 79 | 1 | 3 |